package com.qiniu.aiplayroles.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "dashscope")
@Data
public class VoiceConfig {

    private String apiKey;
    private Voice voice = new Voice();

    @Data
    public static class Voice {
        private String model = "cosyvoice-v2";
        private String defaultVoice = "longxiaochun_v2";
    }
}

